/*
** setcurs.c
**
** Pictor, Version 1.51, Copyright (c) 1992-94 SoftCircuits
** Redistributed by permission.
*/

#include <dos.h>
#include "pictor.h"

/*
** Sets the text cursor position.
*/
void setcurs(int row,int column)
{
	union REGS regs;

	regs.h.ah = 0x02;
	regs.h.bh = (unsigned char)_PL_page;
	regs.h.dh = (unsigned char)(row - 1);
	regs.h.dl = (unsigned char)(column - 1);
	int86(0x10,&regs,&regs);

} /* setcurs */
